public class TestDemo {
    public static int add(int a,int b){
        return a+b;
    }
    public static double add(double a,double b){
        return a+b;
    }
    public static void main(String[] args) {
        int x=10;
        int y=20;
        int ret=add(30,20);
        double ret1=add(10.4,20.6);
        System.out.println(ret1);
        System.out.println(ret);
    }
}
